import Cocoa

if #available(macOS 12.0, *) {
    let app = NSApplication.shared
    let delegate = AppDelegate()
    app.delegate = delegate
    _ = NSApplicationMain(CommandLine.argc, CommandLine.unsafeArgv)
} else {
    print("This app requires macOS 12.0 or later.")
    exit(1)
}